define("skypeCallButton",["core","react","santaProps"],function(a,b,c){"use strict";var d=a.compMixins;var e={call:{small:{width:38,height:16},medium:{width:56,height:24},large:{width:73,height:32}},chat:{small:{width:45,height:16},medium:{width:65,height:24},large:{width:86,height:32}}};return{displayName:"SkypeCallButton",mixins:[d.skinBasedComp],statics:{useSantaTypes:true},propTypes:{compData:c.Types.Component.compData.isRequired,compProp:c.Types.Component.compProp.isRequired,imageSize:b.PropTypes.oneOf(["small","medium","large"]).isRequired,imageColor:b.PropTypes.oneOf(["blue","white"]).isRequired},getInitialState:function(){var a=this.props.compData,b=this.props.compProp;return{$buttontype:a.buttonType,$imagesize:b.imageSize,$imagecolor:b.imageColor}},componentWillReceiveProps:function(a){var b=a.compData;var c=a.compProp;this.setState({$buttontype:b.buttonType,$imagesize:c.imageSize,$imagecolor:c.imageColor})},getSkinProperties:function(){var a=this.props.compData,c=this.props.compProp,d=e[a.buttonType][c.imageSize];var f={"":{style:{width:d.width,height:d.height}},placeholder:{parentConst:b.DOM.div,style:{display:"block",width:d.width,height:d.height}}};if(a.skypeName){f.skypeLink={href:"skype:"+a.skypeName+"?"+a.buttonType}}return f}}});